<script type="text/javascript">
	var parkdataDictEdits = null;
	$(document).ready(function() {
		parkdataDictEdits = new parkDataDictEidt($("#parkDataDictEditDiv"));
	});
</script>
<div id="parkDataDictEditDiv">
	<div class="hint-content">
		<div class="hint-text">
			<label>父级字典键：</label> <input class="k-textbox" type="text" disabled="disabled"
				data-bind="value:parentModelKey" validationMessage="字典键为必填且只能为大小写字母、数字、下划线" maxlength="20" required
				pattern="^[A-Za-z0-9_]*$"  />
		</div>
		<div class="hint-text">
			<label>字典名称：</label> <input class="k-textbox" type="text"
				data-bind="value:modelName" validationMessage="字典名称为必填且不能包含特殊字符"
				required maxlength="50" pattern="^[\u4e00-\u9fa5A-Za-z0-9-_]*$" />
		</div>
		<div class="hint-text">
			<label>字典键：</label> <input class="k-textbox" type="text"
				data-bind="value:modelKey"
				validationMessage="字典键为必填且只能为大小写字母、数字、下划线" maxlength="40" required
				pattern="^[A-Za-z0-9_]*$" />
		</div>
		<div class="hint-text">
			<label>字典值：</label> <input type="text" class="k-textbox"
				validationMessage="字典值为必填且只能为大小写字母、数字" maxlength="20" required
				pattern="^[A-Za-z0-9]*$" data-bind="value:modelValue" />
		</div>
		<div class="hint-text">
			<label>排序号：</label> <input type="text" class="k-textbox"
				validationMessage="排序号为必填且只能为正整数" maxlength="2" required
				pattern="^[0-9]*$" data-bind="value:sortNo" />
		</div>
		<div class="hint-text">
			<label>备注：</label>
			<textarea class="k-textbox" style="resize: none;width: 495px;"
				rows="5" cols="50" data-bind="value:remark" maxlength="500"></textarea>
		</div>
		<!--        <div class="two-case" id="resourcesTreeView"></div> -->
	</div>
	<!--确定、取消btn-->
	<div class="basicInfo-btn">
		<button class="save" data-bind="click:saveSystemInfo">确定</button> 
		<button class="cancel" data-bind="click:closeWindow">取消</button>
	</div>
</div>